<template>
  <div class="guojixianyuanzhanshilan">
    <div class="guojixianyuanzhanshilan_title">国际校园展示栏</div>
    <div class="guojixianyuanzhanshilan_list">
      <LoadingComponent
        v-slot="{ loadingFlag }"
        class="guojixianyuanzhanshilan_list_1"
        v-for="it in ModInternationalDates"
        :key="it.inter_id"
        :title="it.inter_name"
      >
        <img
          :src="'http://www.shxw114.com:9527/' + it.inter_logo"
          v-if="loadingFlag"
        />
      </LoadingComponent>
    </div>
  </div>
</template>
<script setup>
import { ref } from "@vue/reactivity";
import { ModInternationalGet } from "../../server/index.js";
const ModInternationalDates = ref({});
(async (v) => {
  const { data } = await ModInternationalGet();
  ModInternationalDates.value = data;
})();
</script>
<style scoped>
.guojixianyuanzhanshilan {
  width: 100%;
  height: auto;
}
.guojixianyuanzhanshilan_title {
  width: 100%;
  height: 1.4rem;
  background-color: #15b397;
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.4rem;
}
.guojixianyuanzhanshilan_list {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 0.4rem;
  box-sizing: border-box;
  margin-top: 0.6rem;
}
.guojixianyuanzhanshilan_list_1 {
  width: 6.8rem;
  height: 12rem;
}
.guojixianyuanzhanshilan_list_1 img {
  width: 100%;
  height: 100%;
}
</style>